\hypertarget{structstruct__status}{
\section{struct\_\-status Struct Reference}
\label{structstruct__status}\index{struct\_\-status@{struct\_\-status}}
}
This struct only contains information that is temporary.  


{\tt \#include $<$main.h$>$}

\subsection*{Public Attributes}
\begin{CompactItemize}
\item 
\hypertarget{structstruct__status_17075fb3335e44596c7480fccd4354a5}{
unsigned int \hyperlink{structstruct__status_17075fb3335e44596c7480fccd4354a5}{buttons\_\-current\_\-state}}
\label{structstruct__status_17075fb3335e44596c7480fccd4354a5}

\begin{CompactList}\small\item\em The current state of the buttons. \item\end{CompactList}\item 
\hypertarget{structstruct__status_73d35cd75aa069f7718f242f08217dbd}{
unsigned int \hyperlink{structstruct__status_73d35cd75aa069f7718f242f08217dbd}{buttons\_\-last\_\-state}}
\label{structstruct__status_73d35cd75aa069f7718f242f08217dbd}

\begin{CompactList}\small\item\em The last state of the buttons. \item\end{CompactList}\item 
\hypertarget{structstruct__status_6300b45fc1b3f0a14c659a9d5da638fb}{
unsigned char \hyperlink{structstruct__status_6300b45fc1b3f0a14c659a9d5da638fb}{ext\_\-devices\_\-current\_\-state}}
\label{structstruct__status_6300b45fc1b3f0a14c659a9d5da638fb}

\begin{CompactList}\small\item\em The current state of the ext devices. \item\end{CompactList}\item 
\hypertarget{structstruct__status_466e0b0b014bf5cb62e205ac58dde530}{
unsigned char \hyperlink{structstruct__status_466e0b0b014bf5cb62e205ac58dde530}{ext\_\-devices\_\-last\_\-state}}
\label{structstruct__status_466e0b0b014bf5cb62e205ac58dde530}

\begin{CompactList}\small\item\em The last state of the ext devices. \item\end{CompactList}\item 
\hypertarget{structstruct__status_5ec7f0e741f49b1fff61e211ccab4a4d}{
unsigned char \hyperlink{structstruct__status_5ec7f0e741f49b1fff61e211ccab4a4d}{selected\_\-ant}}
\label{structstruct__status_5ec7f0e741f49b1fff61e211ccab4a4d}

\begin{CompactList}\small\item\em Bit 0-3 = TX, Bit 4-7 = RX. \item\end{CompactList}\item 
\hypertarget{structstruct__status_96014d1883e414c343243dc470986d1c}{
unsigned char \hyperlink{structstruct__status_96014d1883e414c343243dc470986d1c}{selected\_\-band}}
\label{structstruct__status_96014d1883e414c343243dc470986d1c}

\begin{CompactList}\small\item\em The currently selected band. \item\end{CompactList}\item 
\hypertarget{structstruct__status_8dbaf3fc52937e28c6b3f73869a22b3a}{
unsigned char \hyperlink{structstruct__status_8dbaf3fc52937e28c6b3f73869a22b3a}{new\_\-band}}
\label{structstruct__status_8dbaf3fc52937e28c6b3f73869a22b3a}

\begin{CompactList}\small\item\em The variable for changing to a new band. \item\end{CompactList}\item 
\hypertarget{structstruct__status_35243e81f3d444bee3f5104f323a8e35}{
unsigned char \hyperlink{structstruct__status_35243e81f3d444bee3f5104f323a8e35}{current\_\-band\_\-portion}}
\label{structstruct__status_35243e81f3d444bee3f5104f323a8e35}

\begin{CompactList}\small\item\em CURRENT Band portion selected. \item\end{CompactList}\item 
\hypertarget{structstruct__status_2833d022b5aee6fd2207fc12e1af67f7}{
unsigned char \hyperlink{structstruct__status_2833d022b5aee6fd2207fc12e1af67f7}{new\_\-band\_\-portion}}
\label{structstruct__status_2833d022b5aee6fd2207fc12e1af67f7}

\begin{CompactList}\small\item\em NEW Band portion selected. \item\end{CompactList}\item 
\hypertarget{structstruct__status_8de41cea2cd98a300addaff2eca383e8}{
unsigned int \hyperlink{structstruct__status_8de41cea2cd98a300addaff2eca383e8}{new\_\-beamheading}}
\label{structstruct__status_8de41cea2cd98a300addaff2eca383e8}

\begin{CompactList}\small\item\em The variable for the new beamheading. \item\end{CompactList}\item 
\hypertarget{structstruct__status_c807865f5c47c3a6563f6ea7744d4ba5}{
unsigned char \hyperlink{structstruct__status_c807865f5c47c3a6563f6ea7744d4ba5}{function\_\-status}}
\label{structstruct__status_c807865f5c47c3a6563f6ea7744d4ba5}

\begin{CompactList}\small\item\em The status of different functions, like rx ant etc, see defines above. \item\end{CompactList}\item 
unsigned char \hyperlink{structstruct__status_751519c9ba01b235d43e19b758c3a127}{current\_\-display\_\-level}
\item 
unsigned char \hyperlink{structstruct__status_5a07897b99cf7c72c0c543b5157043c8}{current\_\-display}
\item 
unsigned char \hyperlink{structstruct__status_3e606ec5f1d11ef7e66c1e6f88ea43eb}{selected\_\-rx\_\-antenna}
\item 
unsigned char \hyperlink{structstruct__status_95ed8ab2c7b3d131d9478e3a2b8d772c}{knob\_\-function}
\item 
unsigned char \hyperlink{structstruct__status_058a4d1fe0aa8518467dafffe213d091}{antenna\_\-to\_\-rotate}
\item 
unsigned char \hyperlink{structstruct__status_6a7f9fd7c692fe1ad0d0d9ed79b8d85b}{rotator\_\-step\_\-resolution}
\item 
unsigned char \hyperlink{structstruct__status_a676f93ffd0700bb574a0ca35961cd2d}{last\_\-rx\_\-antenna}
\item 
unsigned char \hyperlink{structstruct__status_da4ee4abf8490aa07c3f42bd4a2bb767}{sub\_\-menu\_\-antenna\_\-index}
\item 
\hypertarget{structstruct__status_b9adafcde406f5995b77816d4d6ce82c}{
unsigned int \hyperlink{structstruct__status_b9adafcde406f5995b77816d4d6ce82c}{curr\_\-fwd\_\-ad\_\-value}}
\label{structstruct__status_b9adafcde406f5995b77816d4d6ce82c}

\begin{CompactList}\small\item\em Current A/D value for the forward power. \item\end{CompactList}\item 
\hypertarget{structstruct__status_5e5540d4690ce95334e1069e87933f2e}{
unsigned int \hyperlink{structstruct__status_5e5540d4690ce95334e1069e87933f2e}{curr\_\-ref\_\-ad\_\-value}}
\label{structstruct__status_5e5540d4690ce95334e1069e87933f2e}

\begin{CompactList}\small\item\em Current A/D value for the ref power. \item\end{CompactList}\item 
\hypertarget{structstruct__status_22c1698ff4e210d07cf281757256c1af}{
unsigned int \hyperlink{structstruct__status_22c1698ff4e210d07cf281757256c1af}{curr\_\-fwd\_\-power}}
\label{structstruct__status_22c1698ff4e210d07cf281757256c1af}

\begin{CompactList}\small\item\em Current forward power (in Watts). \item\end{CompactList}\item 
\hypertarget{structstruct__status_4aecbcea267750bd74cd66063ffd1462}{
unsigned int \hyperlink{structstruct__status_4aecbcea267750bd74cd66063ffd1462}{curr\_\-ref\_\-power}}
\label{structstruct__status_4aecbcea267750bd74cd66063ffd1462}

\begin{CompactList}\small\item\em Current reflected power (in Watts). \item\end{CompactList}\item 
\hypertarget{structstruct__status_dfeea96b91c3ce0e328a79df0738e8a4}{
double \hyperlink{structstruct__status_dfeea96b91c3ce0e328a79df0738e8a4}{curr\_\-vswr}}
\label{structstruct__status_dfeea96b91c3ce0e328a79df0738e8a4}

\begin{CompactList}\small\item\em Current VSWR. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
This struct only contains information that is temporary. 

Definition at line 223 of file main.h.

\subsection{Member Data Documentation}
\hypertarget{structstruct__status_058a4d1fe0aa8518467dafffe213d091}{
\index{struct\_\-status@{struct\_\-status}!antenna\_\-to\_\-rotate@{antenna\_\-to\_\-rotate}}
\index{antenna\_\-to\_\-rotate@{antenna\_\-to\_\-rotate}!struct_status@{struct\_\-status}}
\subsubsection[{antenna\_\-to\_\-rotate}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf struct\_\-status::antenna\_\-to\_\-rotate}}}
\label{structstruct__status_058a4d1fe0aa8518467dafffe213d091}


Which antenna to rotate 

Definition at line 260 of file main.h.

Referenced by event\_\-poll\_\-buttons(), event\_\-pulse\_\-sensor\_\-down(), event\_\-pulse\_\-sensor\_\-up(), event\_\-rotate\_\-button\_\-pressed(), event\_\-tx\_\-button1\_\-pressed(), event\_\-tx\_\-button2\_\-pressed(), event\_\-tx\_\-button3\_\-pressed(), and event\_\-tx\_\-button4\_\-pressed().\hypertarget{structstruct__status_5a07897b99cf7c72c0c543b5157043c8}{
\index{struct\_\-status@{struct\_\-status}!current\_\-display@{current\_\-display}}
\index{current\_\-display@{current\_\-display}!struct_status@{struct\_\-status}}
\subsubsection[{current\_\-display}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf struct\_\-status::current\_\-display}}}
\label{structstruct__status_5a07897b99cf7c72c0c543b5157043c8}


0 = openASC logo, 1 = antenna info, 2 = menu system, 3 = shutdown view 

Definition at line 253 of file main.h.

Referenced by band\_\-ctrl\_\-change\_\-band(), display\_\-update\_\-radio\_\-freq(), event\_\-internal\_\-comm\_\-parse\_\-message(), event\_\-poll\_\-buttons(), event\_\-pulse\_\-sensor\_\-down(), event\_\-pulse\_\-sensor\_\-up(), and event\_\-update\_\-display().\hypertarget{structstruct__status_751519c9ba01b235d43e19b758c3a127}{
\index{struct\_\-status@{struct\_\-status}!current\_\-display\_\-level@{current\_\-display\_\-level}}
\index{current\_\-display\_\-level@{current\_\-display\_\-level}!struct_status@{struct\_\-status}}
\subsubsection[{current\_\-display\_\-level}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf struct\_\-status::current\_\-display\_\-level}}}
\label{structstruct__status_751519c9ba01b235d43e19b758c3a127}


0 = openASC logo, 1 = curr band level, 2 = sub menu 

Definition at line 251 of file main.h.

Referenced by band\_\-ctrl\_\-change\_\-band(), display\_\-show\_\-rx\_\-ant(), display\_\-show\_\-set\_\-heading(), display\_\-show\_\-sub\_\-menu(), display\_\-update(), event\_\-poll\_\-buttons(), and event\_\-sub\_\-button\_\-pressed().\hypertarget{structstruct__status_95ed8ab2c7b3d131d9478e3a2b8d772c}{
\index{struct\_\-status@{struct\_\-status}!knob\_\-function@{knob\_\-function}}
\index{knob\_\-function@{knob\_\-function}!struct_status@{struct\_\-status}}
\subsubsection[{knob\_\-function}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf struct\_\-status::knob\_\-function}}}
\label{structstruct__status_95ed8ab2c7b3d131d9478e3a2b8d772c}


Knob function 

Definition at line 258 of file main.h.

Referenced by event\_\-poll\_\-buttons(), event\_\-pulse\_\-sensor\_\-down(), event\_\-pulse\_\-sensor\_\-up(), event\_\-rotate\_\-button\_\-pressed(), event\_\-rxant\_\-button\_\-pressed(), and set\_\-knob\_\-function().\hypertarget{structstruct__status_a676f93ffd0700bb574a0ca35961cd2d}{
\index{struct\_\-status@{struct\_\-status}!last\_\-rx\_\-antenna@{last\_\-rx\_\-antenna}}
\index{last\_\-rx\_\-antenna@{last\_\-rx\_\-antenna}!struct_status@{struct\_\-status}}
\subsubsection[{last\_\-rx\_\-antenna}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf struct\_\-status::last\_\-rx\_\-antenna}}}
\label{structstruct__status_a676f93ffd0700bb574a0ca35961cd2d}


The last RX antenna used 

Definition at line 265 of file main.h.

Referenced by event\_\-rxant\_\-button\_\-pressed().\hypertarget{structstruct__status_6a7f9fd7c692fe1ad0d0d9ed79b8d85b}{
\index{struct\_\-status@{struct\_\-status}!rotator\_\-step\_\-resolution@{rotator\_\-step\_\-resolution}}
\index{rotator\_\-step\_\-resolution@{rotator\_\-step\_\-resolution}!struct_status@{struct\_\-status}}
\subsubsection[{rotator\_\-step\_\-resolution}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf struct\_\-status::rotator\_\-step\_\-resolution}}}
\label{structstruct__status_6a7f9fd7c692fe1ad0d0d9ed79b8d85b}


Rotator resolution chosen 

Definition at line 262 of file main.h.

Referenced by event\_\-pulse\_\-sensor\_\-down(), event\_\-pulse\_\-sensor\_\-up(), and main().\hypertarget{structstruct__status_3e606ec5f1d11ef7e66c1e6f88ea43eb}{
\index{struct\_\-status@{struct\_\-status}!selected\_\-rx\_\-antenna@{selected\_\-rx\_\-antenna}}
\index{selected\_\-rx\_\-antenna@{selected\_\-rx\_\-antenna}!struct_status@{struct\_\-status}}
\subsubsection[{selected\_\-rx\_\-antenna}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf struct\_\-status::selected\_\-rx\_\-antenna}}}
\label{structstruct__status_3e606ec5f1d11ef7e66c1e6f88ea43eb}


The currently selected RX antenna, -1 if none selected 

Definition at line 256 of file main.h.

Referenced by band\_\-ctrl\_\-change\_\-band(), event\_\-pulse\_\-sensor\_\-down(), event\_\-pulse\_\-sensor\_\-up(), event\_\-rxant\_\-button\_\-pressed(), event\_\-set\_\-rx\_\-antenna(), event\_\-update\_\-display(), and main().\hypertarget{structstruct__status_da4ee4abf8490aa07c3f42bd4a2bb767}{
\index{struct\_\-status@{struct\_\-status}!sub\_\-menu\_\-antenna\_\-index@{sub\_\-menu\_\-antenna\_\-index}}
\index{sub\_\-menu\_\-antenna\_\-index@{sub\_\-menu\_\-antenna\_\-index}!struct_status@{struct\_\-status}}
\subsubsection[{sub\_\-menu\_\-antenna\_\-index}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf struct\_\-status::sub\_\-menu\_\-antenna\_\-index}}}
\label{structstruct__status_da4ee4abf8490aa07c3f42bd4a2bb767}


The sub menu antenna index we are changing 

Definition at line 268 of file main.h.

Referenced by event\_\-pulse\_\-sensor\_\-down(), event\_\-pulse\_\-sensor\_\-up(), event\_\-sub\_\-button\_\-pressed(), and main().

The documentation for this struct was generated from the following files:\begin{CompactItemize}
\item 
front\_\-panel/\hyperlink{front__panel_2main_8h}{main.h}\item 
powermeter/display\_\-unit/input.h\item 
powermeter/sensor\_\-unit/input.h\end{CompactItemize}
